import Vue from 'vue'
import Router from 'vue-router'
import Home from '../pages/home/home.vue'
import Mine from '../pages/mine/mine.vue'
import Login from '../pages/mine/login.vue'
import Fund from '../pages/fund/fund.vue'
import Quick from '../pages/quick/quick.vue'
import Test from '../test/test.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      redirect: '/home'
    },
    {
      path: '/home',
      component: Home
    },
    {
      path: '/test',
      component: Test
    },
    {
      path: '/mine',
      component: Mine
    },
    {
      path: '/fund',
      component: Fund
    },
    {
      path: '/quick',
      component: Quick
    },
    {
      path: '/login',
      component: Login
    }
  ]
})
